﻿* Encoding: UTF-8.
/* Jones, C.W. and Michael Cowan
/* Pro-Democratic, but Not Anti-Authoritarian?
/* Understanding Ambivalent Attitudes Toward Regimes

/* The syntax for the multinomial logistic regresion (Table 2 in paper) is commented out because it is very CPU-intensive. 
/* Run the file first, then remove the comment codes to run the multinomial regression. 

/* Warnings appear for some regression calculations indicating that the data for some country dummies were constants. SPSS deletes those from the analysis. 

 /* WVS Wave 7 v6 analysis
 
omsend.
use all.
Execute.
weight by w_weight.
  
/* Wave 7 v 6 Create dummies for country and religion

if  C_COW_ALPHA  =  "ARG"  ARG_DUMMY = 1.
if  C_COW_ALPHA  =  "ARM"  ARM_DUMMY = 1.
if  C_COW_ALPHA  =  "AUL"  AUL_DUMMY = 1.
if  C_COW_ALPHA  =  "BNG"  BNG_DUMMY = 1.
if  C_COW_ALPHA  =  "BOL"  BOL_DUMMY = 1.
if  C_COW_ALPHA  =  "BRA"  BRA_DUMMY = 1.
if  C_COW_ALPHA  =  "CAN"  CAN_DUMMY = 1.
if  C_COW_ALPHA  =  "CHL"  CHL_DUMMY = 1.
if  C_COW_ALPHA  =  "CHN"  CHN_DUMMY = 1.
if  C_COW_ALPHA  =  "COL"  COL_DUMMY = 1.
if  C_COW_ALPHA  =  "CYP"  CYP_DUMMY = 1.
if  C_COW_ALPHA  =  "CZR"  CZR_DUMMY = 1.
if  C_COW_ALPHA  =  "DRV"  DRV_DUMMY = 1.
if  C_COW_ALPHA  =  "ECU"  ECU_DUMMY = 1.
if  C_COW_ALPHA  =  "EGY"  EGY_DUMMY = 1.
if  C_COW_ALPHA  =  "ETH"  ETH_DUMMY = 1.
if  C_COW_ALPHA  =  "GMY"  GMY_DUMMY = 1.
if  C_COW_ALPHA  =  "GRC"  GRC_DUMMY = 1.
if  C_COW_ALPHA  =  "GUA"  GUA_DUMMY = 1.
if  C_COW_ALPHA  =  "HKG"  HKG_DUMMY = 1.
if  C_COW_ALPHA  =  "IND"  IND_DUMMY = 1.
if  C_COW_ALPHA  =  "INS"  INS_DUMMY = 1.
if  C_COW_ALPHA  =  "IRN"  IRN_DUMMY = 1.
if  C_COW_ALPHA  =  "IRQ"  IRQ_DUMMY = 1.
if  C_COW_ALPHA  =  "JOR"  JOR_DUMMY = 1.
if  C_COW_ALPHA  =  "JPN"  JPN_DUMMY = 1.
if  C_COW_ALPHA  =  "KEN"  KEN_DUMMY = 1.
if  C_COW_ALPHA  =  "KYR"  KYR_DUMMY = 1.
if  C_COW_ALPHA  =  "KZK"  KZK_DUMMY = 1.
if  C_COW_ALPHA  =  "LEB"  LEB_DUMMY = 1.
if  C_COW_ALPHA  =  "LIB"  LIB_DUMMY = 1.
if  C_COW_ALPHA  =  "MAD"  MAD_DUMMY = 1.
if  C_COW_ALPHA  =  "MAL"  MAL_DUMMY = 1.
if  C_COW_ALPHA  =  "MAU"  MAU_DUMMY = 1.
if  C_COW_ALPHA  =  "MEX"  MEX_DUMMY = 1.
if  C_COW_ALPHA  =  "MNG"  MNG_DUMMY = 1.
if  C_COW_ALPHA  =  "MOR"  MOR_DUMMY = 1.
if  C_COW_ALPHA  =  "MYA"  MYA_DUMMY = 1.
if  C_COW_ALPHA  =  "NEW"  NEW_DUMMY = 1.
if  C_COW_ALPHA  =  "NIC"  NIC_DUMMY = 1.
if  C_COW_ALPHA  =  "NIG"  NIG_DUMMY = 1.
if  C_COW_ALPHA  =  "NIRL"  NIRL_DUMMY = 1.
if  C_COW_ALPHA  =  "NTH"  NTH_DUMMY = 1.
if  C_COW_ALPHA  =  "PAK"  PAK_DUMMY = 1.
if  C_COW_ALPHA  =  "PER"  PER_DUMMY = 1.
if  C_COW_ALPHA  =  "PHI"  PHI_DUMMY = 1.
if  C_COW_ALPHA  =  "PRI"  PRI_DUMMY = 1.
if  C_COW_ALPHA  =  "ROK"  ROK_DUMMY = 1.
if  C_COW_ALPHA  =  "ROM"  ROM_DUMMY = 1.
if  C_COW_ALPHA  =  "RUS"  RUS_DUMMY = 1.
if  C_COW_ALPHA  =  "SIN"  SIN_DUMMY = 1.
if  C_COW_ALPHA  =  "SLO"  SLO_DUMMY = 1.
if  C_COW_ALPHA  =  "SRB"  SRB_DUMMY = 1.
if  C_COW_ALPHA  =  "TAJ"  TAJ_DUMMY = 1.
if  C_COW_ALPHA  =  "TAW"  TAW_DUMMY = 1.
if  C_COW_ALPHA  =  "THI"  THI_DUMMY = 1.
if  C_COW_ALPHA  =  "TUN"  TUN_DUMMY = 1.
if  C_COW_ALPHA  =  "TUR"  TUR_DUMMY = 1.
if  C_COW_ALPHA  =  "UKG"  UKG_DUMMY = 1.
if  C_COW_ALPHA  =  "UKR"  UKR_DUMMY = 1.
if  C_COW_ALPHA  =  "URU"  URU_DUMMY = 1.
if  C_COW_ALPHA  =  "USA"  USA_DUMMY = 1.
if  C_COW_ALPHA  =  "UZB"  UZB_DUMMY = 1.
if  C_COW_ALPHA  =  "VEN"  VEN_DUMMY = 1.
if  C_COW_ALPHA  =  "ZIM"  ZIM_DUMMY = 1.

if  C_COW_ALPHA  ~=  "ARG"  ARG_DUMMY = 0.
if  C_COW_ALPHA  ~=  "ARM"  ARM_DUMMY = 0.
if  C_COW_ALPHA  ~=  "AUL"  AUL_DUMMY = 0.
if  C_COW_ALPHA  ~=  "BNG"  BNG_DUMMY = 0.
if  C_COW_ALPHA  ~=  "BOL"  BOL_DUMMY = 0.
if  C_COW_ALPHA  ~=  "BRA"  BRA_DUMMY = 0.
if  C_COW_ALPHA  ~=  "CAN"  CAN_DUMMY = 0.
if  C_COW_ALPHA  ~=  "CHL"  CHL_DUMMY = 0.
if  C_COW_ALPHA  ~=  "CHN"  CHN_DUMMY = 0.
if  C_COW_ALPHA  ~=  "COL"  COL_DUMMY = 0.
if  C_COW_ALPHA  ~=  "CYP"  CYP_DUMMY = 0.
if  C_COW_ALPHA  ~=  "CZR"  CZR_DUMMY = 0.
if  C_COW_ALPHA  ~=  "DRV"  DRV_DUMMY = 0.
if  C_COW_ALPHA  ~=  "ECU"  ECU_DUMMY = 0.
if  C_COW_ALPHA  ~=  "EGY"  EGY_DUMMY = 0.
if  C_COW_ALPHA  ~=  "ETH"  ETH_DUMMY = 0.
if  C_COW_ALPHA  ~=  "GMY"  GMY_DUMMY = 0.
if  C_COW_ALPHA  ~=  "GRC"  GRC_DUMMY = 0.
if  C_COW_ALPHA  ~=  "GUA"  GUA_DUMMY = 0.
if  C_COW_ALPHA  ~=  "HKG"  HKG_DUMMY = 0.
if  C_COW_ALPHA  ~=  "IND"  IND_DUMMY = 0.
if  C_COW_ALPHA  ~=  "INS"  INS_DUMMY = 0.
if  C_COW_ALPHA  ~=  "IRN"  IRN_DUMMY = 0.
if  C_COW_ALPHA  ~=  "IRQ"  IRQ_DUMMY = 0.
if  C_COW_ALPHA  ~=  "JOR"  JOR_DUMMY = 0.
if  C_COW_ALPHA  ~=  "JPN"  JPN_DUMMY = 0.
if  C_COW_ALPHA  ~=  "KEN"  KEN_DUMMY = 0.
if  C_COW_ALPHA  ~=  "KYR"  KYR_DUMMY = 0.
if  C_COW_ALPHA  ~=  "KZK"  KZK_DUMMY = 0.
if  C_COW_ALPHA  ~=  "LEB"  LEB_DUMMY = 0.
if  C_COW_ALPHA  ~=  "LIB"  LIB_DUMMY = 0.
if  C_COW_ALPHA  ~=  "MAD"  MAD_DUMMY = 0.
if  C_COW_ALPHA  ~=  "MAL"  MAL_DUMMY = 0.
if  C_COW_ALPHA  ~=  "MAU"  MAU_DUMMY = 0.
if  C_COW_ALPHA  ~=  "MEX"  MEX_DUMMY = 0.
if  C_COW_ALPHA  ~=  "MNG"  MNG_DUMMY = 0.
if  C_COW_ALPHA  ~=  "MOR"  MOR_DUMMY = 0.
if  C_COW_ALPHA  ~=  "MYA"  MYA_DUMMY = 0.
if  C_COW_ALPHA  ~=  "NEW"  NEW_DUMMY = 0.
if  C_COW_ALPHA  ~=  "NIC"  NIC_DUMMY = 0.
if  C_COW_ALPHA  ~=  "NIG"  NIG_DUMMY = 0.
if  C_COW_ALPHA  ~=  "NIRL"  NIRL_DUMMY = 0.
if  C_COW_ALPHA  ~=  "NTH"  NTH_DUMMY = 0.
if  C_COW_ALPHA  ~=  "PAK"  PAK_DUMMY = 0.
if  C_COW_ALPHA  ~=  "PER"  PER_DUMMY = 0.
if  C_COW_ALPHA  ~=  "PHI"  PHI_DUMMY = 0.
if  C_COW_ALPHA  ~=  "PRI"  PRI_DUMMY = 0.
if  C_COW_ALPHA  ~=  "ROK"  ROK_DUMMY = 0.
if  C_COW_ALPHA  ~=  "ROM"  ROM_DUMMY = 0.
if  C_COW_ALPHA  ~=  "RUS"  RUS_DUMMY = 0.
if  C_COW_ALPHA  ~=  "SIN"  SIN_DUMMY = 0.
if  C_COW_ALPHA  ~=  "SLO"  SLO_DUMMY = 0.
if  C_COW_ALPHA  ~=  "SRB"  SRB_DUMMY = 0.
if  C_COW_ALPHA  ~=  "TAJ"  TAJ_DUMMY = 0.
if  C_COW_ALPHA  ~=  "TAW"  TAW_DUMMY = 0.
if  C_COW_ALPHA  ~=  "THI"  THI_DUMMY = 0.
if  C_COW_ALPHA  ~=  "TUN"  TUN_DUMMY = 0.
if  C_COW_ALPHA  ~=  "TUR"  TUR_DUMMY = 0.
if  C_COW_ALPHA  ~=  "UKG"  UKG_DUMMY = 0.
if  C_COW_ALPHA  ~=  "UKR"  UKR_DUMMY = 0.
if  C_COW_ALPHA  ~=  "URU"  URU_DUMMY = 0.
if  C_COW_ALPHA  ~=  "USA"  USA_DUMMY = 0.
if  C_COW_ALPHA  ~=  "UZB"  UZB_DUMMY = 0.
if  C_COW_ALPHA  ~=  "VEN"  VEN_DUMMY = 0.
if  C_COW_ALPHA  ~=  "ZIM"  ZIM_DUMMY = 0.

if q289 = 0 q289_omit = 0. 
if q289 = 1 q289_omit = 1. 
if q289 = 2 q289_omit = 2. 
if q289 = 3 q289_omit = 3. 
if q289 = 4 q289_omit = 4. 
if q289 = 5 q289_omit = 5. 
if q289 = 6 q289_omit = 6. 
if q289 = 7 q289_omit = 7. 
if q289 = 8 q289_omit = 8. 
if q289 = 9 q289_omit = 9. 

if  q289_omit  =  0  NONE_D = 1.
if  q289_omit  =  1  RC_D = 1.
if  q289_omit  =  2  PROTESTANT_D = 1.
if  q289_omit  =  3  ORTHODOX_D = 1.
if  q289_omit  =  4  JEWISH_D = 1.
if  q289_omit  =  5  MUSLIM_D = 1.
if  q289_omit  =  6  HINDU_D = 1. 
if  q289_omit =  7  BUDDHIST_D = 1.
if  q289_omit  =  8  OTHERCHRISTIAN_D = 1.
if  q289_omit  =  9  OTHER_D = 1.

if  q289  ~=  0  NONE_D = 0.
if  q289  ~= 1  RC_D = 0.
if  q289  ~=  2  PROTESTANT_D = 0.
if  q289 ~=  3  ORTHODOX_D = 0.
if  q289  ~=  4  JEWISH_D = 0.
if  q289  ~=  5  MUSLIM_D = 0.
if  q289  ~=  6  HINDU_D = 0.
if  q289  ~=  7  BUDDHIST_D = 0.
if  q289  ~=  8  OTHERCHRISTIAN_D = 0.
if  q289 ~=  9  OTHER_D = 0.

/* Reverse score Q235 and Q238, and Identify quadrants  
/* Q235 Having a strong leader who does not have to bother with parliament and elections /*(reverse scored)

if q235 = 1  q235_omit_r = 4.
if q235 = 2 q235_omit_r = 3.
if q235 = 3 q235_omit_r = 2.
if q235 = 4 q235_omit_r = 1.

/* support for democratic institutions, higher scores means very good -- more support (reverse scored)
/*  having a democratic political system
    
if q238 = 1  q238_omit_r = 4.
if q238 = 2 q238_omit_r = 3.
if q238 = 3 q238_omit_r = 2.
if q238 = 4 q238_omit_r = 1.

value labels
q235_omit_r
q238_omit_r
4 'Very good'
3 'Fairly good'
2 'Fairly bad'
1 'Very bad'.
Execute.

if (q238_omit_r >= 3) and (q235_omit_r <= 2) quadrant = 4.
if (q238_omit_r >= 3) and (q235_omit_r >= 3) quadrant = 3.
if (q238_omit_r <= 2) and (q235_omit_r >= 3) quadrant = 2.
if (q238_omit_r <= 2) and (q235_omit_r <= 2) quadrant = 1.

value labels
    quadrant
    1 'Cynics'
    2 'Pure authoritarians'
    4 'Pure democrats'
    3 'Ambivalents'.
execute.


If (q235 = 1 or q235 = 2) q235_auth_binary = 1. 
If (q235 = 3 or q235 = 4) q235_auth_binary = 0. 

If (q238 = 1 or q238 = 2) q238_dem_binary = 1. 
If (q238 = 3 or q238 = 4) q238_dem_binary = 0. 


if quadrant = 3 binaryambivalent = 1.
if quadrant =1  binaryambivalent = 0.
if quadrant =2  binaryambivalent = 0.
if quadrant =4  binaryambivalent = 0.

/* Reverse score religiosity q171, so higher values = greater religiosity
    
if q171 = 1 q171_omit_r = 7.
if q171 = 2 q171_omit_r = 6.
if q171 = 3 q171_omit_r = 5.
if q171 = 4 q171_omit_r = 4.
if q171 = 5 q171_omit_r = 3.
if q171 = 6 q171_omit_r = 2.
if q171 = 7 q171_omit_r = 1.


Variable labels
    q171_omit_r 'Religiosity'
    q235_omit_r 'Support for Autocracy'
    q238_omit_r 'Support for Democracy'.
Execute.

/* compute deviation (continuous ambivalence score)
    
compute deviation = ((q235 + q238)/2) - (abs(q235 - q238)).
compute deviation_r = ((q235_omit_r + q238_omit_r)/2) - (abs(q235_omit_r - q238_omit_r)).

 /* check for acquiescence bias  

if q116 = 1 q116pos = 1.
if q208 = 1 q208pos = 1.
if q137 = 4 q137pos = 1.
if q34 = 1 q34pos = 1.
if q2 = 1 q2pos = 1.
if q233 = 1 q233pos = 1.
if q56 = 1 q56pos = 1.
if q249 = 10 q249pos = 1.
if q201 = 1 q201pos = 1.
if q123 = 2 q123pos = 1.
if q224 = 1 q224pos = 1.
if q58 = 1  q58pos = 1.
if q205 = 1 q205pos = 1.
if q36 = 1 q36pos = 1.
if q151 = 1 q151pos = 1.
if q138 = 4 q138pos= 1.
if q109 = 1 q109pos = 1.
if q148 = 4 q148pos = 1.
if q256 = 1 q256pos = 1.
if q62 = 1 q62pos = 1.


if q116 gt 1 q116pos = 0.
if q208 gt 1 q208pos = 0.
if q137 lt 4 q137pos = 0.
if q34 gt 1 q34pos = 0.
if q2 gt 1 q2pos = 0.
if q233 gt 1 q233pos = 0.
if q56 gt 1 q56pos = 0.
if q249 lt 10 q249pos = 0.
if q201 gt 1 q201pos = 0.
if q123 lt 2 q123pos = 0.
if q224 gt 1 q224pos = 0.
if q58 gt 1  q58pos = 0.
if q205 gt 1 q205pos = 0.
if q36 gt 1 q36pos = 0.
if q151 gt 1 q151pos = 0.
if q138 < 4 q138pos = 0.
if q109 gt 1 q109pos = 0.
if q148 lt 4 q148pos = 0.
if q256 gt 1 q256pos = 0.
if q62 gt 1 q62pos = 0.

compute acq = MEAN (q116pos, q208pos, q137pos, q34pos, q2pos, q233pos, q56pos, q249pos, q201pos, q123pos, q224pos, q58pos, q205pos, q36pos, 
q151pos, q138pos, q109pos, q148pos, q256pos, q62pos).




/* Order first orientation
    
if q17 = 1 q17_omit_r = 1.
if q17 = 2 q17_omit_r = 0. 

value labels
q17_omit_r
1  'important'
0 'not mentioned'.
execute.

if q150 = 1 q150_omit_r = 0. 
if q150= 2 q150_omit_r = 1.

value labels
q150_omit_r
0 'Freedom'
 1 'Security'.
execute.


/* Compute Order first index

if q45 = 1 q45_omit12_r = 1.
if q45 = 2 q45_omit12_r = 0.
if q45 = 3 q45_omit12_r = 0.

if q17_omit_r >=0 q17_answered = 1.
if q150_omit_r >=0 q150_answered = 1.
if q45_omit12_r >=0 q45_answered = 1.

compute authtemp12_avg = mean(q17_omit_r, q150_omit_r, q45_omit12_r).

/* compute democracy knowledge index

compute demknow_avg = mean (q242_omit_r, q245_omit_r, q243_omit, q246_omit, q249_omit).

Variable labels
    demknow_avg 'Knowledge'
    authtemp12_avg 'Order-first value orientation'.
Execute.


/* compute frequency by quadrant

use all.
execute.
weight by w_weight.

/* Figure 1
   
FREQUENCIES VARIABLES=q235_omit_r q238_omit_r 
  /ORDER=ANALYSIS.
 /* Table 1 

FREQUENCIES VARIABLES=quadrant 
  /ORDER=ANALYSIS.


/* Wave 7 WVS percent by quadrants

/* Figure 3

 use all. 
Execute. 
weight by w_weight. 

CROSSTABS 
  /TABLES=C_COW_ALPHA BY quadrant 
  /FORMAT=AVALUE TABLES 
  /CELLS=COUNT ROW 
  /COUNT ROUND CELL.

/* B2 Model 1

REGRESSION 
  /MISSING LISTWISE 
  /STATISTICS COEFF OUTS R ANOVA 
  /CRITERIA=PIN(.05) POUT(.10) 
  /NOORIGIN 
  /DEPENDENT q235_omit_r
  /METHOD=ENTER  q238_omit_r.

/* B2 Model 2

REGRESSION 
  /MISSING LISTWISE 
  /STATISTICS COEFF OUTS R ANOVA 
  /CRITERIA=PIN(.05) POUT(.10) 
  /NOORIGIN 
  /DEPENDENT q235_omit_r
  /METHOD=ENTER   q238_omit_r    ARG_DUMMY	 ARM_DUMMY	 AUL_DUMMY	 BNG_DUMMY	 BOL_DUMMY	 
  BRA_DUMMY	 CAN_DUMMY	 CHL_DUMMY	 CHN_DUMMY	 COL_DUMMY	 CYP_DUMMY	 
  CZR_DUMMY	 DRV_DUMMY	 ECU_DUMMY	 EGY_DUMMY	 ETH_DUMMY	 GMY_DUMMY	 
  GRC_DUMMY	 GUA_DUMMY	 HKG_DUMMY	 IND_DUMMY	 INS_DUMMY	 IRN_DUMMY	 IRQ_DUMMY	 
  JOR_DUMMY	 JPN_DUMMY	 KEN_DUMMY	 KYR_DUMMY	 KZK_DUMMY	 LEB_DUMMY	 LIB_DUMMY	 
  MAD_DUMMY	 MAL_DUMMY	 MAU_DUMMY	 MEX_DUMMY	 MNG_DUMMY	 MOR_DUMMY	 MYA_DUMMY	 
  NEW_DUMMY	 NIC_DUMMY	 NIG_DUMMY	  NIRL_DUMMY	 NTH_DUMMY	 PAK_DUMMY	 PER_DUMMY	 
  PHI_DUMMY	 PRI_DUMMY	 ROK_DUMMY	 ROM_DUMMY	 RUS_DUMMY	 SIN_DUMMY	 SLO_DUMMY	 
  SRB_DUMMY	 TAJ_DUMMY	 TAW_DUMMY	 THI_DUMMY	 TUN_DUMMY	 TUR_DUMMY	 UKG_DUMMY	 
  UKR_DUMMY	 URU_DUMMY	 USA_DUMMY	 UZB_DUMMY	 VEN_DUMMY	 ZIM_DUMMY.

/* B2 Model 3

REGRESSION 
  /MISSING LISTWISE 
  /STATISTICS COEFF OUTS R ANOVA 
  /CRITERIA=PIN(.05) POUT(.10) 
  /NOORIGIN 
  /DEPENDENT q235_omit_r
  /METHOD=ENTER   q238_omit_r   q262  q260 q275R q288R H_URBRURAL q240 q171_omit_r  ARG_DUMMY	 ARM_DUMMY	 AUL_DUMMY	 BNG_DUMMY	 BOL_DUMMY	 
  BRA_DUMMY	 CAN_DUMMY	 CHL_DUMMY	 CHN_DUMMY	 COL_DUMMY	 CYP_DUMMY	 
  CZR_DUMMY	 DRV_DUMMY	 ECU_DUMMY	 EGY_DUMMY	 ETH_DUMMY	 GMY_DUMMY	 
  GRC_DUMMY	 GUA_DUMMY	 HKG_DUMMY	 IND_DUMMY	 INS_DUMMY	 IRN_DUMMY	 IRQ_DUMMY	 
  JOR_DUMMY	 JPN_DUMMY	 KEN_DUMMY	 KYR_DUMMY	 KZK_DUMMY	 LEB_DUMMY	 LIB_DUMMY	 
  MAD_DUMMY	 MAL_DUMMY	 MAU_DUMMY	 MEX_DUMMY	 MNG_DUMMY	 MOR_DUMMY	 MYA_DUMMY	 
  NEW_DUMMY	 NIC_DUMMY	 NIG_DUMMY	  NIRL_DUMMY	 NTH_DUMMY	 PAK_DUMMY	 PER_DUMMY	 
  PHI_DUMMY	 PRI_DUMMY	 ROK_DUMMY	 ROM_DUMMY	 RUS_DUMMY	 SIN_DUMMY	 SLO_DUMMY	 
  SRB_DUMMY	 TAJ_DUMMY	 TAW_DUMMY	 THI_DUMMY	 TUN_DUMMY	 TUR_DUMMY	 UKG_DUMMY	 
  UKR_DUMMY	 URU_DUMMY	 USA_DUMMY	 UZB_DUMMY	 VEN_DUMMY	 ZIM_DUMMY.


/*B2 Model 4
   
 
REGRESSION 
  /MISSING LISTWISE 
  /STATISTICS COEFF OUTS R ANOVA 
  /CRITERIA=PIN(.05) POUT(.10) 
  /NOORIGIN 
  /DEPENDENT q235_omit_r
  /METHOD=ENTER   q238_omit_r   q262  q260 q275R q288R H_URBRURAL q240 q171_omit_r   ARG_DUMMY	 ARM_DUMMY	 AUL_DUMMY	 BNG_DUMMY	 BOL_DUMMY	 
  BRA_DUMMY	 CAN_DUMMY	 CHL_DUMMY	 CHN_DUMMY	 COL_DUMMY	 CYP_DUMMY	 
  CZR_DUMMY	 DRV_DUMMY	 ECU_DUMMY	 EGY_DUMMY	 ETH_DUMMY	 GMY_DUMMY	 
  GRC_DUMMY	 GUA_DUMMY	 HKG_DUMMY	 IND_DUMMY	 INS_DUMMY	 IRN_DUMMY	 IRQ_DUMMY	 
  JOR_DUMMY	 JPN_DUMMY	 KEN_DUMMY	 KYR_DUMMY	 KZK_DUMMY	 LEB_DUMMY	 LIB_DUMMY	 
  MAD_DUMMY	 MAL_DUMMY	 MAU_DUMMY	 MEX_DUMMY	 MNG_DUMMY	 MOR_DUMMY	 MYA_DUMMY	 
  NEW_DUMMY	 NIC_DUMMY	 NIG_DUMMY	  NIRL_DUMMY	 NTH_DUMMY	 PAK_DUMMY	 PER_DUMMY	 
  PHI_DUMMY	 PRI_DUMMY	 ROK_DUMMY	 ROM_DUMMY	 RUS_DUMMY	 SIN_DUMMY	 SLO_DUMMY	 
  SRB_DUMMY	 TAJ_DUMMY	 TAW_DUMMY	 THI_DUMMY	 TUN_DUMMY	 TUR_DUMMY	 UKG_DUMMY	 
  UKR_DUMMY	 URU_DUMMY	 USA_DUMMY	 UZB_DUMMY	 VEN_DUMMY	 ZIM_DUMMY RC_D PROTESTANT_D ORTHODOX_D JEWISH_D MUSLIM_D HINDU_D 
    BUDDHIST_D OTHERCHRISTIAN_D OTHER_D.

 /* B2 Model 5
    
LOGISTIC REGRESSION VARIABLES q235_auth_binary 
  /METHOD=ENTER q238_omit_r Q262 Q260 Q275R Q288R H_URBRURAL Q240 q171_omit_r ARG_DUMMY ARM_DUMMY 
    AUL_DUMMY BNG_DUMMY BOL_DUMMY BRA_DUMMY CAN_DUMMY CHL_DUMMY CHN_DUMMY COL_DUMMY CYP_DUMMY CZR_DUMMY 
    DRV_DUMMY ECU_DUMMY EGY_DUMMY ETH_DUMMY GMY_DUMMY GRC_DUMMY GUA_DUMMY HKG_DUMMY IND_DUMMY INS_DUMMY 
    IRN_DUMMY IRQ_DUMMY JOR_DUMMY JPN_DUMMY KEN_DUMMY KYR_DUMMY KZK_DUMMY LEB_DUMMY LIB_DUMMY MAD_DUMMY 
    MAL_DUMMY MAU_DUMMY MEX_DUMMY MNG_DUMMY MOR_DUMMY MYA_DUMMY NEW_DUMMY NIC_DUMMY NIG_DUMMY 
    NIRL_DUMMY NTH_DUMMY PAK_DUMMY PER_DUMMY PHI_DUMMY PRI_DUMMY ROK_DUMMY ROM_DUMMY RUS_DUMMY 
    SIN_DUMMY SLO_DUMMY SRB_DUMMY TAJ_DUMMY TAW_DUMMY THI_DUMMY TUN_DUMMY TUR_DUMMY UKG_DUMMY UKR_DUMMY 
    URU_DUMMY USA_DUMMY UZB_DUMMY VEN_DUMMY ZIM_DUMMY RC_D PROTESTANT_D ORTHODOX_D JEWISH_D MUSLIM_D 
    HINDU_D BUDDHIST_D OTHERCHRISTIAN_D OTHER_D 
  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).


/* Appendix B3
    
/* Acquiescence
    
use all.
Execute.
weight by w_weight.

REGRESSION 
  /MISSING LISTWISE 
  /STATISTICS COEFF OUTS R ANOVA 
  /CRITERIA=PIN(.05) POUT(.10) 
  /NOORIGIN 
  /DEPENDENT acq
  /METHOD=ENTER   deviation_r .

REGRESSION 
  /MISSING LISTWISE 
  /STATISTICS COEFF OUTS R ANOVA 
  /CRITERIA=PIN(.05) POUT(.10) 
  /NOORIGIN 
  /DEPENDENT acq
  /METHOD=ENTER   deviation_r q262  q260 q275R q288R  H_URBRURAL q240 q171_omit_r    ARG_DUMMY	 ARM_DUMMY	 AUL_DUMMY	 BNG_DUMMY	 BOL_DUMMY	 
  BRA_DUMMY	 CAN_DUMMY	 CHL_DUMMY	 CHN_DUMMY	 COL_DUMMY	 CYP_DUMMY	 
  CZR_DUMMY	 DRV_DUMMY	 ECU_DUMMY	 EGY_DUMMY	 ETH_DUMMY	 GMY_DUMMY	 
  GRC_DUMMY	 GUA_DUMMY	 HKG_DUMMY	 IND_DUMMY	 INS_DUMMY	 IRN_DUMMY	 IRQ_DUMMY	 
  JOR_DUMMY	 JPN_DUMMY	 KEN_DUMMY	 KYR_DUMMY	 KZK_DUMMY	 LEB_DUMMY	 LIB_DUMMY	 
  MAD_DUMMY	 MAL_DUMMY	 MAU_DUMMY	 MEX_DUMMY	 MNG_DUMMY	 MOR_DUMMY	 MYA_DUMMY	 
  NEW_DUMMY	 NIC_DUMMY	 NIG_DUMMY	  NIRL_DUMMY	 NTH_DUMMY	 PAK_DUMMY	 PER_DUMMY	 
  PHI_DUMMY	 PRI_DUMMY	 ROK_DUMMY	 ROM_DUMMY	 RUS_DUMMY	 SIN_DUMMY	 SLO_DUMMY	 
  SRB_DUMMY	 TAJ_DUMMY	 TAW_DUMMY	 THI_DUMMY	 TUN_DUMMY	 TUR_DUMMY	 UKG_DUMMY	 
  UKR_DUMMY	 URU_DUMMY	 USA_DUMMY	 UZB_DUMMY	 VEN_DUMMY	 ZIM_DUMMY RC_D PROTESTANT_D ORTHODOX_D JEWISH_D MUSLIM_D HINDU_D 
    BUDDHIST_D OTHERCHRISTIAN_D OTHER_D.

/* Nonresponse
    
/* Nonresponse tests for the 20 questions (ambivalent vs nonambivalent)
    
MISSING VALUES q116(-5 TO -3).
MISSING VALUES q208(-5 TO -3).
MISSING VALUES q137(-5 TO -3).
MISSING VALUES q34 (-5 TO -3).
MISSING VALUES q2(-5 TO -3).
MISSING VALUES q233(-5 TO -3).
MISSING VALUES q56 (-5 TO -3).
MISSING VALUES q249(-5 TO -3).
MISSING VALUES q201(-5 TO -3).
MISSING VALUES q123(-5 TO -3).
MISSING VALUES q224(-5 TO -3).
MISSING VALUES q58 (-5 TO -3).
MISSING VALUES q205(-5 TO -3).
MISSING VALUES q36 (-5 TO -3).
MISSING VALUES q151(-5 TO -3).
MISSING VALUES q138(-5 TO -3).
MISSING VALUES q109(-5 TO -3).
MISSING VALUES q148(-5 TO -3).
MISSING VALUES q256(-5 TO -3).
MISSING VALUES q62 (-5 TO -3).
 

if q116 gt 1 q116pos = 0.
if q208 gt 1 q208pos = 0.
if q137 lt 4 q137pos = 0.
if q34 gt 1 q34pos = 0.
if q2 gt 1 q2pos = 0.
if q233 gt 1 q233pos = 0.
if q56 gt 1 q56pos = 0.
if q249 lt 10 q249pos = 0.
if q201 gt 1 q201pos = 0.
if q123 lt 2 q123pos = 0.
if q224 gt 1 q224pos = 0.
if q58 gt 1  q58pos = 0.
if q205 gt 1 q205pos = 0.
if q36 gt 1 q36pos = 0.
if q151 gt 1 q151pos = 0.
if q138 < 4 q138pos = 0.
if q109 gt 1 q109pos = 0.
if q148 lt 4 q148pos = 0.
if q256 gt 1 q256pos = 0.
if q62 gt 1 q62pos = 0.    

IF q116= -1 q116DK =1 .
IF q208= -1 q208DK =1 .
IF q137= -1 q137DK =1 .
IF q34 = -1 q34DK =1 .
IF q2= -1 q2DK =1 .
IF q233= -1 q233DK =1 .
IF q56 = -1 q56DK =1 .
IF q249= -1 q249DK =1 .
IF q201= -1 q201DK =1 .
IF q123= -1 q123DK =1 .
IF q224= -1 q224DK =1 .
IF q58 = -1 q58DK =1 .
IF q205= -1 q205DK =1 .
IF q36 = -1 q36DK =1 .
IF q151= -1 q151DK =1 .
IF q138= -1 q138DK =1 .
IF q109= -1 q109DK =1 .
IF q148= -1 q148DK =1 .
IF q256= -1 q256DK =1 .
IF q62 = -1 q62DK =1 .


IF q116  GT 0 q116DK =0 .
IF q208  GT 0 q208DK =0 .
IF q137  GT 0 q137DK =0 .
IF q34   GT 0 q34DK =0 .
IF q2  GT 0 q2DK =0 .
IF q233  GT 0 q233DK =0 .
IF q56   GT 0 q56DK =0 .
IF q249  GT 0 q249DK =0 .
IF q201  GT 0 q201DK =0 .
IF q123  GT 0 q123DK =0 .
IF q224  GT 0 q224DK =0 .
IF q58   GT 0 q58DK =0 .
IF q205  GT 0 q205DK =0 .
IF q36   GT 0 q36DK =0 .
IF q151  GT 0 q151DK =0 .
IF q138  GT 0 q138DK =0 .
IF q109  GT 0 q109DK =0 .
IF q148  GT 0 q148DK =0 .
IF q256  GT 0 q256DK =0 .
IF q62  GT 0 q62DK =0 .


IF q116= -2 q116NA =1 .
IF q208= -2 q208NA =1 .
IF q137= -2 q137NA =1 .
IF q34 = -2 q34NA =1 .
IF q2= -2 q2NA =1 .
IF q233= -2 q233NA =1 .
IF q56 = -2 q56NA =1 .
IF q249= -2 q249NA =1 .
IF q201= -2 q201NA =1 .
IF q123= -2 q123NA =1 .
IF q224= -2 q224NA =1 .
IF q58 = -2 q58NA =1 .
IF q205= -2 q205NA =1 .
IF q36 = -2 q36NA =1 .
IF q151= -2 q151NA =1 .
IF q138= -2 q138NA =1 .
IF q109= -2 q109NA =1 .
IF q148= -2 q148NA =1 .
IF q256= -2 q256NA =1 .
IF q62 = -2 q62NA =1 .


IF q116  GT 0 q116NA =0 .
IF q208  GT 0 q208NA =0 .
IF q137  GT 0 q137NA =0 .
IF q34   GT 0 q34NA =0 .
IF q2  GT 0 q2NA =0 .
IF q233  GT 0 q233NA =0 .
IF q56   GT 0 q56NA =0 .
IF q249  GT 0 q249NA =0 .
IF q201  GT 0 q201NA =0 .
IF q123  GT 0 q123NA =0 .
IF q224  GT 0 q224NA =0 .
IF q58   GT 0 q58NA =0 .
IF q205  GT 0 q205NA =0 .
IF q36   GT 0 q36NA =0 .
IF q151  GT 0 q151NA =0 .
IF q138  GT 0 q138NA =0 .
IF q109  GT 0 q109NA =0 .
IF q148  GT 0 q148NA =0 .
IF q256  GT 0 q256NA =0 .
IF q62  GT 0 q62NA =0 .

compute meanDKNA = mean(q116DK, q208DK, q137DK, q34DK, q2DK, q233DK, q56DK, q249DK, q201DK, q123DK, q224DK, q58DK, q205DK, q36DK, q151DK, q138DK, q109DK, q148DK, q256DK, q62DK,
    q116NA, q208NA, q137NA, q34NA, q2NA, q233NA, q56NA, q249NA, q201NA, q123NA, q224NA, q58NA, q205NA, q36NA, q151NA, q138NA, q109NA, q148NA, q256NA, q62NA).

Variable labels
    meanDKNA 'Nonresponse'
    acq 'Acquiescence'.

REGRESSION 
  /MISSING LISTWISE 
  /STATISTICS COEFF OUTS R ANOVA 
  /CRITERIA=PIN(.05) POUT(.10) 
  /NOORIGIN 
  /DEPENDENT meanDKNA
  /METHOD=ENTER   deviation_r .


REGRESSION 
  /MISSING LISTWISE 
  /STATISTICS COEFF OUTS R ANOVA 
  /CRITERIA=PIN(.05) POUT(.10) 
  /NOORIGIN 
  /DEPENDENT meanDKNA
  /METHOD=ENTER   deviation_r  q262  q260 q275R q288R   H_URBRURAL q240 q171_omit_r   ARG_DUMMY	 ARM_DUMMY	 AUL_DUMMY	 BNG_DUMMY	 BOL_DUMMY	 
  BRA_DUMMY	 CAN_DUMMY	 CHL_DUMMY	 CHN_DUMMY	 COL_DUMMY	 CYP_DUMMY	 
  CZR_DUMMY	 DRV_DUMMY	 ECU_DUMMY	 EGY_DUMMY	 ETH_DUMMY	 GMY_DUMMY	 
  GRC_DUMMY	 GUA_DUMMY	 HKG_DUMMY	 IND_DUMMY	 INS_DUMMY	 IRN_DUMMY	 IRQ_DUMMY	 
  JOR_DUMMY	 JPN_DUMMY	 KEN_DUMMY	 KYR_DUMMY	 KZK_DUMMY	 LEB_DUMMY	 LIB_DUMMY	 
  MAD_DUMMY	 MAL_DUMMY	 MAU_DUMMY	 MEX_DUMMY	 MNG_DUMMY	 MOR_DUMMY	 MYA_DUMMY	 
  NEW_DUMMY	 NIC_DUMMY	 NIG_DUMMY	  NIRL_DUMMY	 NTH_DUMMY	 PAK_DUMMY	 PER_DUMMY	 
  PHI_DUMMY	 PRI_DUMMY	 ROK_DUMMY	 ROM_DUMMY	 RUS_DUMMY	 SIN_DUMMY	 SLO_DUMMY	 
  SRB_DUMMY	 TAJ_DUMMY	 TAW_DUMMY	 THI_DUMMY	 TUN_DUMMY	 TUR_DUMMY	 UKG_DUMMY	 
  UKR_DUMMY	 URU_DUMMY	 USA_DUMMY	 UZB_DUMMY	 VEN_DUMMY	 ZIM_DUMMY RC_D PROTESTANT_D ORTHODOX_D JEWISH_D MUSLIM_D HINDU_D 
    BUDDHIST_D OTHERCHRISTIAN_D OTHER_D.


/* NA plus DK by quadrant and regime questions
       

/* appendix B3, Nonresponse by regime type preferences    

if q235 = -1 or q235 = -2 q235_DKNA = 1. 
if q236 = -1 or q236 = -2 q236_DKNA = 1. 
if q237 = -1 or q237 = -2 q237_DKNA = 1. 
if q238 = -1 or q238 = -2 q238_DKNA = 1. 
if q239 = -1 or q239 = -2 q239_DKNA = 1. 

if q288R = -1 or q288R = -2 q288R_DKNA = 1.
if q288R >= 0 q288R_DKNA = 0.
if q288R  = -4 or q288R = -5 Q288R_DKNA = 0.

variable labels
    q235_DKNA 'Support for autocracy - nonresponse'
    q236_DKNA 'Support for expert rule - nonresponse'
    q237_DKNA 'Support for army rule - nonresponse'
    q238_DKNA 'Support for democracy - nonresponse'
    q239_DKNA 'Support for religious rule - nonresponse'.
    
frequencies q235_DKNA  q236_DKNA  q237_DKNA  q238_DKNA q239_DKNA.


/* Appendix B4 Profiles by region
    
CROSSTABS 
  /TABLES=fhregion BY quadrant 
  /FORMAT=AVALUE TABLES 
  /CELLS=COUNT ROW 
  /COUNT ROUND CELL.

/* democracy knowledge index
/* q242 Religious authorities ultimately interpret the laws. (reverse scored)

if q242 = 0 q242_omit_r = 10.
if q242 = 1 q242_omit_r = 9.
if q242 = 2 q242_omit_r = 8.
if q242 = 3 q242_omit_r = 7.
if q242 = 4 q242_omit_r = 6.
if q242 = 5 q242_omit_r = 5.
if q242 = 6 q242_omit_r = 4.
if q242 = 7 q242_omit_r = 3.
if q242 = 8 q242_omit_r = 2.
if q242 = 9 q242_omit_r = 1.
if q242 = 10 q242_omit_r = 0.

/* q245 The army takes over when government is incompetent. (reverse scored)

if q245 = 0 q245_omit_r = 10.
if q245 = 1 q245_omit_r = 9.
if q245 = 2 q245_omit_r = 8.
if q245 = 3 q245_omit_r = 7.
if q245 = 4 q245_omit_r = 6.
if q245 = 5 q245_omit_r = 5.
if q245 = 6 q245_omit_r = 4.
if q245 = 7 q245_omit_r = 3.
if q245 = 8 q245_omit_r = 2.
if q245 = 9 q245_omit_r = 1.
if q245 = 10 q245_omit_r = 0.

/* q243 People choose their leaders in free elections. 

if q243 = 0 q243_omit = 0.
if q243 = 1 q243_omit = 1.
if q243 = 2 q243_omit = 2.
if q243 = 3 q243_omit = 3.
if q243 = 4 q243_omit = 4.
if q243 = 5 q243_omit = 5.
if q243 = 6 q243_omit = 6.
if q243 = 7 q243_omit = 7.
if q243 = 8 q243_omit = 8.
if q243 = 9 q243_omit = 9.
if q243 = 10 q243_omit = 10.

/* q246 Civil rights protect people from state oppression.

if q246 = 0 q246_omit = 0.
if q246 = 1 q246_omit = 1.
if q246 = 2 q246_omit = 2.
if q246 = 3 q246_omit = 3.
if q246 = 4 q246_omit = 4.
if q246 = 5 q246_omit = 5.
if q246 = 6 q246_omit = 6.
if q246 = 7 q246_omit = 7.
if q246 = 8 q246_omit = 8.
if q246 = 9 q246_omit = 9.
if q246 = 10 q246_omit = 10.

/* q249 Women have the same rights as men.

if q249 = 0 q249_omit = 0.
if q249 = 1 q249_omit = 1.
if q249 = 2 q249_omit = 2.
if q249 = 3 q249_omit = 3.
if q249 = 4 q249_omit = 4.
if q249 = 5 q249_omit = 5.
if q249 = 6 q249_omit = 6.
if q249 = 7 q249_omit = 7.
if q249 = 8 q249_omit = 8.
if q249 = 9 q249_omit = 9.
if q249 = 10 q249_omit = 10.

/* Table 2 in paper 

use all.
Execute.
weight by w_weight.

/* Table 2 (CPU intensive)

 * NOMREG quadrant (BASE=LAST ORDER=ASCENDING) BY  ARG_DUMMY	 ARM_DUMMY	 AUL_DUMMY	 BNG_DUMMY	 BOL_DUMMY	 
  BRA_DUMMY	 CAN_DUMMY	 CHL_DUMMY	 CHN_DUMMY	 COL_DUMMY	 CYP_DUMMY	 
  CZR_DUMMY	 DRV_DUMMY	 ECU_DUMMY	 EGY_DUMMY	 ETH_DUMMY	 GMY_DUMMY	 
  GRC_DUMMY	 GUA_DUMMY	 HKG_DUMMY	 IND_DUMMY	 INS_DUMMY	 IRN_DUMMY	 IRQ_DUMMY	 
  JOR_DUMMY	 JPN_DUMMY	 KEN_DUMMY	 KYR_DUMMY	 KZK_DUMMY	 LEB_DUMMY	 LIB_DUMMY	 
  MAD_DUMMY	 MAL_DUMMY	 MAU_DUMMY	 MEX_DUMMY	 MNG_DUMMY	 MOR_DUMMY	 MYA_DUMMY	 
  NEW_DUMMY	 NIC_DUMMY	 NIG_DUMMY	  NIRL_DUMMY	 NTH_DUMMY	 PAK_DUMMY	 PER_DUMMY	 
  PHI_DUMMY	 PRI_DUMMY	 ROK_DUMMY	 ROM_DUMMY	 RUS_DUMMY	 SIN_DUMMY	 SLO_DUMMY	 
  SRB_DUMMY	 TAJ_DUMMY	 TAW_DUMMY	 THI_DUMMY	 TUN_DUMMY	 TUR_DUMMY	 UKG_DUMMY	 
  UKR_DUMMY	 URU_DUMMY	 USA_DUMMY	 UZB_DUMMY	 VEN_DUMMY	 ZIM_DUMMY  RC_D PROTESTANT_D ORTHODOX_D JEWISH_D MUSLIM_D HINDU_D 
    BUDDHIST_D OTHERCHRISTIAN_D OTHER_D  WITH demknow_avg authtemp12_avg  q262  q260 q288R  q275R H_URBRURAL q240 q171_omit_r  
  /CRITERIA CIN(95) DELTA(0) MXITER(100) MXSTEP(5) CHKSEP(20) LCONVERGE(0) PCONVERGE(0.000001) 
    SINGULAR(0.00000001) 
  /MODEL 
  /STEPWISE=PIN(.05) POUT(0.1) MINEFFECT(0) RULE(SINGLE) ENTRYMETHOD(LR) REMOVALMETHOD(LR) 
  /INTERCEPT=INCLUDE 
  /PRINT=CLASSTABLE FIT PARAMETER SUMMARY LRT CPS STEP MFI.


/* Table 3     
/* continuous ambivalence measure

REGRESSION 
  /MISSING LISTWISE 
  /STATISTICS COEFF OUTS R ANOVA 
  /CRITERIA=PIN(.05) POUT(.10) 
  /NOORIGIN 
  /DEPENDENT deviation_r 
  /METHOD=ENTER   demknow_avg authtemp12_avg  q262  q260 Q275R q288R   H_URBRURAL q240 q171_omit_r   ARG_DUMMY	 ARM_DUMMY	 AUL_DUMMY	 BNG_DUMMY	 BOL_DUMMY	 
  BRA_DUMMY	 CAN_DUMMY	 CHL_DUMMY	 CHN_DUMMY	 COL_DUMMY	 CYP_DUMMY	 
  CZR_DUMMY	 DRV_DUMMY	 ECU_DUMMY	 EGY_DUMMY	 ETH_DUMMY	 GMY_DUMMY	 
  GRC_DUMMY	 GUA_DUMMY	 HKG_DUMMY	 IND_DUMMY	 INS_DUMMY	 IRN_DUMMY	 IRQ_DUMMY	 
  JOR_DUMMY	 JPN_DUMMY	 KEN_DUMMY	 KYR_DUMMY	 KZK_DUMMY	 LEB_DUMMY	 LIB_DUMMY	 
  MAD_DUMMY	 MAL_DUMMY	 MAU_DUMMY	 MEX_DUMMY	 MNG_DUMMY	 MOR_DUMMY	 MYA_DUMMY	 
  NEW_DUMMY	 NIC_DUMMY	 NIG_DUMMY	  NIRL_DUMMY	 NTH_DUMMY	 PAK_DUMMY	 PER_DUMMY	 
  PHI_DUMMY	 PRI_DUMMY	 ROK_DUMMY	 ROM_DUMMY	 RUS_DUMMY	 SIN_DUMMY	 SLO_DUMMY	 
  SRB_DUMMY	 TAJ_DUMMY	 TAW_DUMMY	 THI_DUMMY	 TUN_DUMMY	 TUR_DUMMY	 UKG_DUMMY	 
  UKR_DUMMY	 URU_DUMMY	 USA_DUMMY	 UZB_DUMMY	 VEN_DUMMY	 ZIM_DUMMY   RC_D PROTESTANT_D ORTHODOX_D JEWISH_D MUSLIM_D HINDU_D 
    BUDDHIST_D OTHERCHRISTIAN_D OTHER_D .
    
/* binary ambivalence

if quadrant = 3 binaryambivalent = 1.
if quadrant =1  binaryambivalent = 0.
if quadrant =2  binaryambivalent = 0.
if quadrant =4  binaryambivalent = 0.

LOGISTIC REGRESSION VARIABLES binaryambivalent 
  /METHOD=ENTER  demknow_avg authtemp12_avg  q262  q260   q275R q288R H_URBRURAL q240 q171_omit_r   ARG_DUMMY	 ARM_DUMMY	 AUL_DUMMY	 BNG_DUMMY	 BOL_DUMMY	 
  BRA_DUMMY	 CAN_DUMMY	 CHL_DUMMY	 CHN_DUMMY	 COL_DUMMY	 CYP_DUMMY	 
  CZR_DUMMY	 DRV_DUMMY	 ECU_DUMMY	 EGY_DUMMY	 ETH_DUMMY	 GMY_DUMMY	 
  GRC_DUMMY	 GUA_DUMMY	 HKG_DUMMY	 IND_DUMMY	 INS_DUMMY	 IRN_DUMMY	 IRQ_DUMMY	 
  JOR_DUMMY	 JPN_DUMMY	 KEN_DUMMY	 KYR_DUMMY	 KZK_DUMMY	 LEB_DUMMY	 LIB_DUMMY	 
  MAD_DUMMY	 MAL_DUMMY	 MAU_DUMMY	 MEX_DUMMY	 MNG_DUMMY	 MOR_DUMMY	 MYA_DUMMY	 
  NEW_DUMMY	 NIC_DUMMY	 NIG_DUMMY	  NIRL_DUMMY	 NTH_DUMMY	 PAK_DUMMY	 PER_DUMMY	 
  PHI_DUMMY	 PRI_DUMMY	 ROK_DUMMY	 ROM_DUMMY	 RUS_DUMMY	 SIN_DUMMY	 SLO_DUMMY	 
  SRB_DUMMY	 TAJ_DUMMY	 TAW_DUMMY	 THI_DUMMY	 TUN_DUMMY	 TUR_DUMMY	 UKG_DUMMY	 
  UKR_DUMMY	 URU_DUMMY	 USA_DUMMY	 UZB_DUMMY	 VEN_DUMMY	 ZIM_DUMMY RC_D PROTESTANT_D ORTHODOX_D JEWISH_D MUSLIM_D HINDU_D 
    BUDDHIST_D OTHERCHRISTIAN_D OTHER_D
  /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) CUT(.5).

